package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 客户授信额度管理
 * @Author: jeecg-boot
 * @Date:   2020-10-09
 * @Version: V1.0
 */
@Data
@TableName("zrk_credit_limit")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zrk_credit_limit对象", description="客户授信额度管理")
public class ZrkCreditLimit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**授信额度*/
	@Excel(name = "授信额度", width = 15)
    @ApiModelProperty(value = "授信额度")
    private java.math.BigDecimal creditAmount;
	/**临时额度*/
	@Excel(name = "临时额度", width = 15)
    @ApiModelProperty(value = "临时额度")
    private java.math.BigDecimal temporaryQuota;
	/**客户ID*/
	@Excel(name = "客户ID", width = 15)
    @ApiModelProperty(value = "客户ID")
    private java.lang.String cusId;
	/**临额开始时间*/
	@Excel(name = "临额开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "临额开始时间")
    private java.util.Date startDate;
	/**临额结束时间*/
	@Excel(name = "临额结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "临额结束时间")
    private java.util.Date endDate;
	/**授信剩余额度*/
	@Excel(name = "授信剩余额度", width = 15)
    @ApiModelProperty(value = "授信剩余额度")
    private java.math.BigDecimal remainAmount;
	/**临额剩余额度*/
	@Excel(name = "临额剩余额度", width = 15)
    @ApiModelProperty(value = "临额剩余额度")
    private java.math.BigDecimal temporaryRemain;
	/**临额是否超期*/
	@Excel(name = "临额是否超期", width = 15)
    @ApiModelProperty(value = "临额是否超期")
    private java.lang.Integer isOverdue;
	/**是否审核*/
	@Excel(name = "是否审核", width = 15)
    @ApiModelProperty(value = "是否审核")
    private java.lang.Integer isCheck;
}
